(7870) 1987 UP2 is a Mars-crossing minor planet. It was discovered by Poul Jensen at the Brorfelde Observatory near Holbæk, Denmark, on October 25, 1987.